package com.xjj.order.feign;

import org.springframework.stereotype.Component;

@Component
public class StockServiceFeignFallBack implements StockServiceFeign {
    @Override
    public String reduce(Integer num) {
        System.out.println("===减库存失败，调用fallback方法====");
        return "error";
    }
}
